$bg8e:#8e488e;
$bgdd:#dd3d97;
header{
    width: 100%;
    height: 48px;
    position: absolute;
    top: 0px;
    background: $bg8e;
    .centerbox{
        display: block;
        position: absolute;
        left: 10%;
        right: 10%;
        text-align: center;
        color: white;
        height: 48px;
        line-height: 48px;
        font-weight: normal;
        font-size: 16px;
        a{
            height: 100%;
            overflow: hidden;
            display: inline-block;
            color: white;
            text-decoration: none;
            padding: 0 10px;
            margin-right: -4px;
        }
        .active{
            background: white;
            color: black;
        }
    }
    span{
        display: block;
        width: 10%;
        height: 48px;
        position: absolute;
        top: 0px;
        line-height: 48px;
        text-align: center;
        a{
            display: block;
            width: 100%;
            height: 100%;
        }
        i.fa{
            color: white;
            font-size: 16px;
        }
    }
    span:nth-child(3){
        right: 0px;
    }
    
}

footer{
    a{
       font-size: 14px;
       padding-right:15px ;
       padding-left:15px ;
       line-height: 48px;
       text-align: center;
       color: white;
       .fa{
           color: $bg8e;
           font-size: 25px;
       }
       .badge{
           width: 20px;
           height: 20px;
           position: absolute;
           top: 0px;
           left: 50%;
           border-radius: 50%;
           text-align: center;
           line-height: 20px;
           padding: 0;
           background: $bg8e;
       }
    }
    a:nth-child(2){
        background: $bgdd;
    }
    a:nth-child(3){
        background: $bg8e;
    }
    a:link,a:visited{
        color: white;
    }

}

.product_body{
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 48px;
    bottom: 48px;
    background: #f1f5f6;
    .swiper_box{
        width: 100%;
        overflow: hidden;
        background: white;
        margin-bottom: 2%;
        .swiper-slide{
            width: 100%;
            text-align: center;
        }
        img{
           // display: block;
           
        }
        .item-title,.item-price{
            width: 100%;
            box-sizing: border-box;
            padding: 1%;
        }
        .item-price{
            color: $bgdd;
            font-weight: bold;
        }
    }
    .category2{
        width: 100%;
        padding: 1%;
        background: white;
        overflow: hidden;
        margin-bottom: 2%;
        p{
            color: #999;
            span{
                color: black;
            }
        }
    }
    .category3{
        width: 100%;
        overflow: hidden;
        margin-bottom: 2%;
        img{
            width: 100%;
        }
    }
}

.evaluate{
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 48px;
    bottom: 48px;
    background: #f1f5f6;
    display: none;
    #scroller{
        widows: 100%;
        overflow: hidden;
    }
    .item-evaluate{
        background: white;
        margin-top: 10px;
    }
    ul{
        width: 100%;
        padding: 2px 5px;
        display: block;
        li{
            img{
                width: 25px;
                height: 25px;
                border-radius: 50%;
            }
            .fa{
                color: red;
            }
        }
    }
    ul:nth-child(1){
        border-bottom: 1px solid #ccc;
        margin-bottom: 0;
        li{
            display: inline-block;
            width: 48%;
            margin-bottom:5px ;
        }
        li:nth-child(2){
            text-align: right;
        }
    }
    li:last-child{
        color: #aaa;
    }
}
